package com.hustmed.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 样品数据对象 sample
 *
 */
public class Sample extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 样品id */
    private String id;

    /** 工艺参数id */
    @Excel(name = "工艺参数id")
    private String processParamsId;

    /** 样品编号 */
    @Excel(name = "样品编号")
    private String sampleNo;

    /** 样品名称 */
    @Excel(name = "样品名称")
    private String name;

    /** 动态数据 */
    @Excel(name = "动态数据")
    private String cjson;

    /** 键值数据 */
    @Excel(name = "键值数据")
    private String vjson;

    /** 状态（0停用 1启用） */
    @Excel(name = "状态", readConverterExp = "0=停用,1=启用")
    private Long status;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String delFlag;

    private String vjsonq;

    private String experimentId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProcessParamsId(String processParamsId) 
    {
        this.processParamsId = processParamsId;
    }

    public String getProcessParamsId() 
    {
        return processParamsId;
    }
    public void setSampleNo(String sampleNo) 
    {
        this.sampleNo = sampleNo;
    }

    public String getSampleNo() 
    {
        return sampleNo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCjson(String cjson) 
    {
        this.cjson = cjson;
    }

    public String getCjson() 
    {
        return cjson;
    }
    public void setVjson(String vjson) 
    {
        this.vjson = vjson;
    }

    public String getVjson() 
    {
        return vjson;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getVjsonq() {
        return vjsonq;
    }

    public void setVjsonq(String vjsonq) {
        this.vjsonq = vjsonq;
    }

    public String getExperimentId() {
        return experimentId;
    }

    public void setExperimentId(String experimentId) {
        this.experimentId = experimentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("processParamsId", getProcessParamsId())
            .append("sampleNo", getSampleNo())
            .append("name", getName())
            .append("cjson", getCjson())
            .append("vjson", getVjson())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
